#ifndef __HEALPIX_DATA_H
#define __HEALPIX_DATA_H

#include <iostream>
#include "DataContainer.h"
#define HEALPIX_NULLVAL (-1.6375e30)

using namespace std;

typedef struct healpix_value {

	int pixel;
	float value[4];
	float weight[4];

} healpix_t;

class HEALPIX_Data : public DataContainer {

	private:

	int nside;
	healpix_t * data;

	public:

	int Get_Val(float in1, float in2, void * out);
	int load();

	HEALPIX_Data(char *);
	HEALPIX_Data();
	~HEALPIX_Data();

};
#endif	
